package bavaria.hightech.comparators;

import java.util.Comparator;

import bavaria.hightech.banking.Buchung;


public class CompMoney implements Comparator <Buchung>{

	

	@Override
	public int compare(Buchung o1, Buchung o2) {
		return o1.getMoney().compareTo(o2.getMoney());
	}

}
